package com.lanswon.qzsmk.model;

import java.io.Serializable;

public class DataPrivilege implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 4556924264013426629L;

	/** 权限ID */
    private Integer privilegeId;

    /** 类别ID */
    private Integer catalogId;

    /** 权限名称 */
    private String privilegeName;

    /** 实体名称 */
    private String entity;

    /** 访问权限 */
    private String acs;

    /** 表达式 */
    private String expression;

    /** 描述 */
    private String descripton;


    public Integer getPrivilegeId() {
        return privilegeId;
    }

    public void setPrivilegeId(Integer privilegeId) {
        this.privilegeId = privilegeId;
    }

    public Integer getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Integer catalogId) {
        this.catalogId = catalogId;
    }

    public String getPrivilegeName() {
        return privilegeName;
    }

    public void setPrivilegeName(String privilegeName) {
        this.privilegeName = privilegeName == null ? null : privilegeName.trim();
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity == null ? null : entity.trim();
    }

    public String getAcs() {
        return acs;
    }

    public void setAcs(String acs) {
        this.acs = acs == null ? null : acs.trim();
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression == null ? null : expression.trim();
    }

    public String getDescripton() {
        return descripton;
    }

    public void setDescripton(String descripton) {
        this.descripton = descripton == null ? null : descripton.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", privilegeId=").append(privilegeId);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", privilegeName=").append(privilegeName);
        sb.append(", entity=").append(entity);
        sb.append(", acs=").append(acs);
        sb.append(", expression=").append(expression);
        sb.append(", descripton=").append(descripton);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}